package models;

import java.util.Date;
import javax.jdo.annotations.Index;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PrimaryKey;
import javax.persistence.Id;

@Index
public class Favorite {
	
	@PrimaryKey
	@Id
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)	
	Long	favID;
		
	long	solID;
	String	favoriteOf;
	Date	favoriteON;
	
	public long getFavID() {
		return favID;
	}
	public long getSolID() {
		return solID;
	}
	public String getFavoriteOf() {
		return favoriteOf;
	}
	public Date getFavoriteON() {
		return favoriteON;
	}
	public void setFavID(Long favID) {
		this.favID = favID;
	}
	public void setSolID(int solID) {
		this.solID = solID;
	}
	public void setFavoriteOf(String favoriteOf) {
		this.favoriteOf = favoriteOf;
	}
	public void setFavoriteON(Date favoriteON) {
		this.favoriteON = favoriteON;
	}
	
}
